/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.msk.sys.mapper;


import com.msk.sys.domain.Dict;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 字典DAO接口
 * @author ThinkGem
 * @version 2014-05-16
 */
@Repository
public interface DictDao extends CrudDao<Dict> {

	public List<String> findTypeList(Dict dict);
	public Dict findByType(@Param("value") String value, @Param("type") String type);
	public String findByTypeAndLabel(@Param("label") String label, @Param("type") String type);
}
